﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace My.Domain.Labels
{
    /// <summary>
    /// 标签的领域
    /// </summary>
    public class Label : BasicAggregateRoot<Guid>
    {
        private Label()
        {

        }

        public Label(Guid id, string name, string color) : base(id)
        {
            Name = name;
            Color = color;
        }

        public string Name { get; set; }

        public string Color { get; set; }
    }
}
